<template>
  <div id="app">
    <Nav>
      <img src="./tp/navigation_bar_back.png" slot="left" />
      <div slot="center">{{this.$route.meta.title}}</div>
      <img src="./tp/swiper_icon.png" slot="right" />
    </Nav>
    <router-view />

    <Tab>
      <div slot="one">首页</div>
      <div slot="two">分类</div>
      <div slot="three">购物车</div>
      <div slot="fore">我的</div>
    </Tab>
  </div>
</template>
<script>
import Nav from "./components/nav/nav";
import Tab from "./components/tab/tab";
export default {
  components: {
    Nav,
    Tab,
  },

  mothods: {
    // fn() {
    //   this.$router.go(-1);
    // },
    // fn(){
    //   this.$router.push("/mod")
    // }
  },
};
</script>
<style lang="scss">
</style>
